package com.example.springboot.service;

import com.example.springboot.entity.Patient;
import com.example.springboot.entity.Rydk;
import com.example.springboot.mapper.RydkMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RydkService {
@Autowired
    private RydkMapper rydkMapper;
    public int rydk(Rydk rydk){
        return rydkMapper.insert(rydk);
    }
}
